package com.tlgen.Controller;

import com.tlgen.Service.PdfThreeService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

import javax.servlet.http.HttpServletRequest;

@RestController
@RequestMapping("/Pdf")
public class PdfThreeController {
    @Autowired
    private PdfThreeService pdfThreeService;

    /**
     * 上传执法者签名
     */
    @RequestMapping(value = "/UpdateCheck")
    public String UpdateCheck(HttpServletRequest request) {
        String responseText="";
        String CHECKE_SIGH=request.getParameter("CHECKE_SIGH");
        Integer RecordId=Integer.parseInt(request.getParameter("RecordId"));
        responseText = pdfThreeService.UpdateCheck(CHECKE_SIGH,RecordId);
        return responseText;
    }
}
